package com.qhg.saas_server.service;

import com.github.pagehelper.PageInfo;
import com.qhg.saas_server.pojo.Warehouse;
import com.qhg.saas_server.pojo.dto.WarehouseInfoDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WarehouseService {
    //模糊查询名字和负责人
    PageInfo SelectWarehouse(Integer pageNum, Integer pageSize, String wareName, String wareComploName);
    //根据Id查询仓库
    WarehouseInfoDto SelectById(Integer wareId);
    //添加仓库
    void InsertWarehouse(Warehouse warehouse);
    //修改状态
    void UpdateStatus(Integer wareStatus,Integer wareId);
    //修改仓库信息
    void UpdateWarehouse(Warehouse warehouse);
    //根据ID删除仓库信息
    void DeleteById(Integer wareId);
}
